package ch05;
class Student5 {
	int number;
	String name;
	Student5 () {
	}
	Student5 (int number,String name) {
		this.number = number;
		this.name = name;
		System.out.println("我的名字是："+name+"学号是"+number);
	}
}
class UniverStudent5 extends Student5 {
	boolean 婚否;
	UniverStudent5(int number,String name,boolean b) {
		
		婚否 = b;
		System.out.println("婚否="+婚否);
	}
}
public class Example5_8 {
	public static void main(String args[]) {
		UniverStudent5 zhang = new UniverStudent5(9901,"何小林",false);
	}
}
